package main

import "fmt"

func main() {
	// 定义浮点类型
	var num1 float32 = 3.14
	fmt.Println(num1)
	var num2 float32 = -3.14
	fmt.Println(num2)
	var num3 float32 = 3.14
	fmt.Println(num3)
	var num4 float32 = 3.1405
	fmt.Println(num4)
	fmt.Printf("num4的数据类型为：%T", num4)
}
